package com.sabastian.springframework.beans.factory.config;

import com.sabastian.springframework.beans.BeansException;
import com.sabastian.springframework.beans.factory.ConfigurableListableBeanFactory;

/**
 * @author Ciel Phantomhive
 * @description
 * @date 2023/1/20 21:46
 */
public interface BeanFactoryPostProcessor {

    /**
     * 在所有 BeanDefinition 加载完成后，Bean实例化之前，提供修改BeanDefinition属性的机制
     */
    void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException;
}
